package com.synergy.stockflow.service;

import com.synergy.stockflow.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

public interface SysRoleService extends IService<SysRole>{
    boolean addRole(SysRole sysRole, List<Long> permIds);
    boolean updateRole(SysRole sysRole, List<Long> permIds);
    SysRole getByRoleCode(String roleCode);
    int removeBatchByCodes(Collection<String> list);
}
